home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 March / EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso / internet / others / cloneclock.lha / CloneClock.doc < prev    next >
Text File  |  1995-07-28  |  4KB  |  96 lines

  1.  
  2.                                 CloneClock
  3.                                DOCUMENTATION
  4.  
  5. ** PREFACE
  6.  
  7. If you don't have two computers set up in Parnet, you dont need this program,
  8. so go delete it NOW!
  9.  
  10.  
  11. ** WHAT THE H**L IS IT?
  12.  
  13. Now that you ask so nicely I might as well tell you!!
  14. I have a A2000/030/882 + FPU and lots of other stuff, AND a CDTV. These two
  15. computers are set up in a Parnet Network. In contrast to my A2000 The clock
  16. in the CDTV has a bad habit of resetting itself to some odd time like
  17. 09-oct-88 and the clock on the front display says: 12:00. As time went by I
  18. got kind of tired of that, so CLONECLOCK WAS EVENTUALLY BORN!!!
  19. CloneClock simply copies the exact time on the computer on which the proggy
  20. is executed and installs this time on the other one. And you have the correct
  21. time on both computers.
  22.  
  23.  
  24. ** REQUIREMENTS
  25.  
  26. 1. The program CloneClock ;-)
  27. 2. A running Parnet network
  28. 3. 'Netcmd' on the Amiga where you run CloneClock (tm)!! 'Netcmd' is a
  29.    command within the Parnet Package if you didn't know!
  30. 4. The AmigaOS commands 'Date' and 'Setclock' on the amiga where you DO NOT
  31.    RUN Cloneclock , -namely the one with the f**ked up time!!
  32. 5. Bad timing on one of your computers. :-)
  33.  
  34.  
  35. ** PARAMETERS
  36.  
  37. There can be only one!! Parameter that is!!
  38. The parameter in question is a number between 0 and 9 which is used to
  39. specify a delay in seconds. This delay is however crucial for otherwise
  40. the Netcmd command might gets too many jobs on its hands. If you care to
  41. read the PROBLEMS section you will know why this delay is so important.
  42.  
  43. You're free to choose a number between 0 and 9 in order to specify the
  44. delay. On my two Amigas 4 seconds works fine - every time!! The delay
  45. naturally depends on whether the command has to be loaded from a shitty
  46. diskdrive or a wonderful harddisk. Since my CDTV unlike my A2000 does
  47. not have 560HD space I have to wait for the disk drive to finish.
  48. Then again, if you code a VERY quick loader you might want to set the
  49. delay to 0!!!
  50.  
  51.  
  52. ** PROBLEMS
  53.  
  54. *I have however observed a remarkably great instability during transferring
  55. the commands to the other Amiga using Netcmd.
  56. SnoopDOS points out that some weird background task (probably some effect
  57. from Netcmd) tries to execute a file called command.pkt twice. The way I see
  58. it, there seems to be a BIG problem with the timing in the Netcmd command.
  59. It saves a file in net:ram/ called command.pkt as a result of the first
  60. command. If this command.pkt has not been removed when the 2nd arrives
  61. things f**k up and you get a message saying something like: 'Can't open
  62. command packet'.
  63. I'm not sure Netcmd checks for another command being issued before creating
  64. another one - I dont thing it has anything like a chain or waitup mode!
  65.  
  66. *If anybody finds out how to check for Netcmd being done issuing the command
  67. and when it has removed the command.pkt file, then I would be very grateful
  68. if you'd tell me - so that I could release a Watching-out-for-bug-in-netcmd
  69. version.
  70.  
  71.  
  72. ** SHIT YOU NEED TO KNOW
  73.  
  74. *I have included the source in ASM in case you have problems and want to
  75. change it yourself. You dont need to be an assembler freak who remembers
  76. all OP codes in hex for the instructions sets on all motorola processors to
  77. firure out what it does!!!
  78.  
  79. *I didn't try it out the other way around from CDTV to A2000 because the
  80. code is totally system friendly. There should be now problems coz I execute
  81. it from a 030/KS 2.04 to 000/KS 1.3, so I mean, if anything could go wrong
  82. it probably would have already!!
  83.  
  84.  
  85. ** ME
  86.  
  87. Email:
  88. d1v@dc5101.aalborges.dk
  89.  
  90. Address:
  91. Gorm Sørensen
  92. Kjeldgaardsgade 2,v5
  93. 9000 Aalborg
  94. Denmark
  95.  
  96.